Skip to content

Conversation

@klutvott123
Copy link
Member

Removes support for custom page templates. We're not using it and we don't need it.
The idea was to be able to have custom layouts for pages/screen resolutions, but so far we have been doing just fine with the default templates.

@klutvott123 klutvott123 added this to the 1.6 milestone Oct 25, 2021
Comment on lines +15 to +19
if apiVersion >= 1.042 then
vtx_tables = assert(loadScript("/BF/VTX/"..mcuId..".lua"))()
else
vtx_tables = assert(loadScript("/BF/VTX/vtx_defaults.lua"))()
end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be

if apiVersion >= 1.042 then
    vtx_tables = assert(loadScript("/SCRIPTS/BF/VTX_TABLES/"..mcuId..".lua"))()
else
    vtx_tables = assert(loadScript("/SCRIPTS/BF/VTX_TABLES/vtx_defaults.lua"))()
end

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as #401 isn't merged, the vtx tables will still be in /BF/VTX

@mikeller mikeller merged commit c69f73a into betaflight:master Oct 31, 2021
@mikeller
Copy link
Member

Nice cleanup!

@klutvott123 klutvott123 deleted the remove-custom-template-support branch November 26, 2021 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants